<%@ page contentType="text/html;charset=UTF-8" language="java"%>

<html>
<body>
	<%
		String val1 = request.getParameter("postName");

		String val2 = request.getParameter("pageID");
	%>

	WELCOME
	<%
		if (val1 != null) {
	%>
	<a>Hello Post <%=val1%></a>
	<%
		}
		if (val2 != null) {
	%>
	<a>Hello Page <%=val2%></a>
	<%
		}
	%>

	<FORM METHOD=POST ACTION="login">
		<ul>
			<li>UserName :<INPUT TYPE="TEXT" NAME="username" SIZE="20"></li>			
			<li>Password :<INPUT TYPE="PASSWORD" NAME="password" SIZE="20"></li>
		</ul>
		<P>
			<INPUT TYPE=SUBMIT>
	</FORM>

</body>
</html>